pkgname=ndctl
pkgver=git
pkgrel=1
arch=('i386' 'x86_64')
url="https://github.com/pmem/ndctl"
license=('GPL')
source=("https://github.com/pmem/ndctl.git")
md5sums=('SKIP')

build() {
	cd "$srcdir/${pkgname}"
	./autogen.sh
	./configure CFLAGS='-g -O0' --enable-test --disable-docs --prefix=/lkp/benchmarks
	make
}

package() {
	cd "$srcdir/${pkgname}"
	make DESTDIR="${pkgdir}" install
}
